package come.tool.handle;


import com.tool.tcpimg.UIUtils;
import come.tool.Fighting.FightingMixDeal;

public class HandleWait  implements Handle{
	@Override
	public void handle(long DieTime) {//
		if (FightingMixDeal.State == HandleState.HANDLE_WAIT) {
			// 只会触发野怪召唤兽人物
			for (int i = 0; i < FightingMixDeal.CurrentData.size(); i++) {// 不为灵宝和宝宝
				//  0属于玩家  1属于召唤兽  2属于野怪3属于灵宝 4属于宝宝
				if (FightingMixDeal.CurrentData.get(i).getFightingManData().getType() < 3) {
					if (FightingMixDeal.CurrentData.get(i).getNameColor() == UIUtils.COLOR_NPC_SELECT) {// 触发监听
						FightingMixDeal.CurrentData.get(i).setDefaultNameColor();
					}
				}
			}
		}
		// TODO Auto-generated method stub
//		if (Battlefield.full||FightingImageRunable.time>FightingImageRunable.ROUND_FILL) {
//			FightingImageRunable.changeState(HandleState.HANDLE_BATTLE);
//			Battlefield.ReceiveEvent(null, 1);
//		}
	}
}
